﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommunicationDataContract
{
    public static class EndpointSettings
    {
        private const String DesktopApplicationEndpointAddress = "net.pipe://localhost/{0}";
        public const String WindowsServiceEndpointAddress = "net.pipe://localhost/CommunicationDataContract/WindowsService";
        public const String WindowsServiceName = "Communication Service Application";
        public static String GetDesktopApplicationEndpointAddress(Guid InstanceGuid)
        {
            return String.Format(DesktopApplicationEndpointAddress, InstanceGuid.ToString());
        }
    }      

}
